package org.jsbd.boss.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.jsbd.boss.dao.IResidueStatisticsDAO;
import org.jsbd.boss.domian.statistics.ResidueStatistics;
import org.jsbd.boss.domian.statistics.ResidueStatisticsVo;
import org.jsbd.boss.service.IResidueStatisticsService;
import org.springframework.stereotype.Service;

@Service("residueStatisticsService")
public class ResidueStatisticsServiceImpl implements IResidueStatisticsService {
	
	@Resource
	private IResidueStatisticsDAO residueStatisticsDAO;
	
	@Override
	public List<ResidueStatistics> selectRecords(ResidueStatisticsVo redisueStatisticsVo) {
		return residueStatisticsDAO.selectRecords(redisueStatisticsVo);
	}

	@Override
	public List<String> selectMinute(ResidueStatisticsVo redisueStatisticsVo) {
		return residueStatisticsDAO.selectMinute(redisueStatisticsVo);
	}

	@Override
	public List<ResidueStatistics> selectSumRecords(ResidueStatisticsVo residueStatisticsVo) {
		return residueStatisticsDAO.selectSumRecords(residueStatisticsVo);
	}

	@Override
	public List<String> selectSumSysvers(ResidueStatisticsVo residueStatisticsVo) {
		return residueStatisticsDAO.selectSumSysvers(residueStatisticsVo);
	}

}
